%%%-------------------------------------------------------------------
%%% @author admin
%%% @copyright (C) 2021, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 30. 十二月 2021 14:51
%%%-------------------------------------------------------------------
-module(decode_behav).
-author("admin").

%% decode call back.
-callback decode(
    Bin::binary(),
    Key::any())
      -> {ok, NewBin::binary()}
    | {ok, NewBin::binary(), NewKey::any()}.
